/**
 *Copyright (c) 2024 watereyes
 * workflow is licensed under Mulan PubL v2.
 * You can use this software according to the terms and conditions of the Mulan
 * PubL v2.
 * You may obtain a copy of Mulan PubL v2 at:
 *          http://license.coscl.org.cn/MulanPubL-2.0
 * THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
 * EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
 * MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
 * See the Mulan PubL v2 for more details.
 */
package com.koron.workflow.baseConfig.bean;

import com.koron.workflow.common.bean.BaseBean;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;

/**
 * @author qingfeng
 * @description: TODO
 * @date 2020/4/13 14:07
 */
public class RoleLineBean extends BaseBean {

    @NotNull(message = "角色线编号不能为空")
    @Size(max = 50, message = "角色线编号最多能输入50个字符")
    private String code;

    @Size(max = 50, message = "角色线名称最多能输入50个字符")
    private String name;

    @Size(max = 50, message = "描述最多能输入50个字符")
    private String description;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

}
